from tkinter import *

class ProcessButtonEvent:
	def __init__(self):
		window = Tk()
		buttonOK = Button(window, text = "OK", bg = "red", command = self.buttonOK)
		buffonCancel = Button(window, text = "Cancel", fg = "blue", command = self.buffonCancel)

		buttonOK.pack()
		buffonCancel.pack()

		window.mainloop()

	def buttonOK(self):
		print("Enter the OK Button")

	def buffonCancel(self):
		print("Enter the Cancel Button")

ProcessButtonEvent()

